﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="FX.CC.Andon.WebSite.login" %>

<%@ Import Namespace="FX.CC.Andon.Business.BLL.SystemManage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=Webset.SystemCTitle %></title>
    <link href="lib/css/login.css" rel="stylesheet" type="text/css" />
</head>
<body onkeydown="onEnterDown();">
    <div id="top">
        <table align="center" style="">
            <tr>
                <td>
                    <h1>
                        <%=Webset.SystemCTitle %></h1>
                </td>
            </tr>
        </table>
    </div>
    <div id="login">
        <div id="login_box">
            <div class="title">
            </div>
            <div class="content">
                <div class="left">
                </div>
                <div class="main">
                    <form id="login_form">
                    <div class="login_userid">
                        <span>账 号：</span>
                        <input name="LoginCode" type="text" class="input" id="LoginCode" autocomplete="off" />
                    </div>
                    <div class="login_password">
                        <span>密 码：</span>
                        <input name="LoginPwd" type="password" class="input" id="LoginPwd" />
                    </div>
                    <div class="login_button">
                        <input type="button" name="submit" id="submit" value="" onclick="submit_login();" />
                        <input type="reset" name="reset" id="reset" value="" onclick="doReset();" />
                    </div>
                    <div class="login_code">
                        <a class="forgetPwd" onclick="forgetPwd();"><span style="font-size: 12px; color: red;
                            cursor: pointer; margin-left: 200px;">忘记密码</span></a>
                    </div>
                    </form>
                    <div class="note">
                        * 不要在公共场合保存登录信息；<br />
                        * 为了保证您的帐号安全，退出系统时请注销登录 <span id="msg_tip"></span>
                    </div>
                </div>
                <div class="right">
                </div>
            </div>
        </div>
        <div style="width: 450px; height: 250px; padding-top: 10px; padding-left: 10px;">
            <marquee width="450px" height="100%" onmouseover="stop()" onmouseout="start()" direction="up"
                scrolldelay="300" runat="server">
                       <ul class=ul_txt2>
                            <%=new NoticeBLL().ViewTxtList()%>
                        </ul></marquee>
        </div>
    </div>
    <div id="foot">
        <p style="padding-top: 20px;">
            Copyright ©
            <%=Years %>
            Changchun huaxiang car muffler co., LTD. All rights reserved
            <br />
            版权所有：<%=Years %>
            <%=Webset.CompanyName%>
        </p>
    </div>
    <script src="lib/jquery-1.6.2.min.js" type="text/javascript"></script>
    <script src="lib/js/login.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#LoginCode").focus();
        })
        function onEnterDown() {//body的onkeydown事件时调用
            if (window.event.keyCode == 13) {
                submit_login();
            }
        }
    </script>
</body>
</html>
